///////////////////////////////////////////////////////////
//  Char.h
//  Implementation of the Class Char
//  Created on:      18-fev-2007 15:52:56
///////////////////////////////////////////////////////////

#if !defined(EA_8811F1D0_A4D6_4272_9D41_34FCA2C7D865__INCLUDED_)
#define EA_8811F1D0_A4D6_4272_9D41_34FCA2C7D865__INCLUDED_

#include <allegro.h>

/**
 * @date 2007-02-18
 */
class Char
{

public:
	Char();
	virtual ~Char();
	virtual void Init(const char* fileName);
	virtual void Draw(BITMAP* activePage);
	virtual void Turn(int direction);
	virtual void Move(int direction);
	virtual void SetX(int x);
	virtual void SetY(int y);
	virtual int GetX();
	virtual int GetY();
	virtual void Update();
	virtual int GetState();
	virtual void SetClock(volatile int* clock);

protected:
	volatile int* clock;
	int x;
	int y;

};
#endif // !defined(EA_8811F1D0_A4D6_4272_9D41_34FCA2C7D865__INCLUDED_)
